package com.mskj.p3.service.imp;

import org.springframework.beans.factory.annotation.Autowired;

import com.mskj.p3.dao.CommentDao;
import com.mskj.p3.model.Blog;
import com.mskj.p3.model.Help;
import com.mskj.p3.model.User;
import com.mskj.p3.service.CommentService;

public class CommentServiceImp implements CommentService{
	
	@Autowired
	private CommentDao cd;
	
	@Override
	public boolean commentBlog(User user, Blog b) {
		return cd.commentBlog(user, b);
	}

	@Override
	public boolean commentHelp(User user, Help h) {
		return cd.commentHelp(user, h);
	}

}
